package test.api.feign.api;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @Author wangshaopeng
 * @Date 2020/11/19
 */
@FeignClient(name = "stock")
public interface FeignWorkApi {

    @PostMapping("/work")
    void work(@RequestParam(name = "work") String work);
}
